Micron Document
🎖️GitЯра🎖️


Displaying Raw • Download

core/repository/src/commonMain/kotlin/org/meshtastic/core/repository/XModemFile.kt bf929c20f274232e0eb8ddc19b2dc82403e99e5b (bf929c20) Text, 1.34 KB

T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.repository

T8b949e/** A file received via an XModem transfer from the connected device. */
Tff7b72data Tff7b72class T56d364XModemFileTb4b4b4(
T8b949e/** Filename as set via [XModemManager.setTransferName] before the transfer started. */
Tff7b72val Te6edf3nameTb4b4b4: Tffa657StringTb4b4b4,
T8b949e/** Raw bytes of the received file (trailing CTRLZ padding stripped). */
Tff7b72val Te6edf3dataTb4b4b4: Te6edf3ByteArrayTb4b4b4,
Tb4b4b4) Tb4b4b4{
Tff7b72override Tff7b72fun Td2a8ffequalsTb4b4b4(Te6edf3otherTb4b4b4: Tffa657Any?Tb4b4b4)Tb4b4b4: Tffa657Boolean Tb4b4b4{
Tff7b72if Tb4b4b4(Tff7b72this Tff7b72=Tff7b72=Tff7b72= Te6edf3otherTb4b4b4) Tff7b72return Tff7b72true
Tff7b72if Tb4b4b4(Te6edf3other Tff7b72!is Te6edf3XModemFileTb4b4b4) Tff7b72return Tff7b72false
Tff7b72return Te6edf3name Tff7b72=Tff7b72= Te6edf3otherTb4b4b4.Te6edf3name Tff7b72&Tff7b72& Te6edf3dataTb4b4b4.Te6edf3contentEqualsTb4b4b4(Te6edf3otherTb4b4b4.Te6edf3dataTb4b4b4)
Tb4b4b4}

Tff7b72override Tff7b72fun Td2a8ffhashCodeTb4b4b4(Tb4b4b4)Tb4b4b4: Tffa657Int Tff7b72= T79c0ff3T79c0ff1 Tff7b72* Te6edf3nameTb4b4b4.Te6edf3hashCodeTb4b4b4(Tb4b4b4) Tff7b72+ Te6edf3dataTb4b4b4.Te6edf3contentHashCodeTb4b4b4(Tb4b4b4)
Tb4b4b4}

Served by rngit 1.5.0 - Generated in 0.05s